
document.addEventListener("DOMContentLoaded", function () {
    const menuLinks = document.querySelectorAll("ul li a");

    menuLinks.forEach(link => {
        link.addEventListener("click", function (e) {
            alert(`即将跳转到：${this.textContent}`); // 显示提示信息
        });
    });
});